package com.ksd.modules.course.po;

import com.ksd.commons.AbstractTimeEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "AdminNoteChapterSavePO", description = "课程章")
public class AdminCourseChapterSavePO extends AbstractTimeEntity {
    @ApiModelProperty("主键ID")
    private Long id;
    @ApiModelProperty("章节所属课程id")
    private Long courseId;
    @ApiModelProperty("章节名称")
    private String title;
    @ApiModelProperty("章节排序")
    private Integer sorted;
    @ApiModelProperty("总时长")
    private String totalTime;
    @ApiModelProperty("课程标题")
    private String courseTitle;
    @ApiModelProperty("发布状态 1发布 0未发布")
    private Integer status;
    @ApiModelProperty("是否删除 1删除 0 未删除")
    private Integer isDeleted;

    public static class Columns {
        public static String IS_DELETED = "is_deleted";
        public static String STATUS = "status";
    }
}
